package com.oa.service;

import java.io.InputStream;
import java.util.Collection;
import java.util.List;

import com.oa.entity.Application;
import com.oa.entity.ApproveInfo;

/**
 * @author FengMengHuo
 * 申请服务类
 */
public interface ApplicationService {

	//提交申请模板
	void addApplication(Application application);

	//查询个人的申请信息
	List<Application> findApplicationList(Application application);
	// 待我审批
	List<Application> findApplicationVariable();
	//待我审批
	public Collection<String> getOutComeTransition(Application elecApplication);
	//下载申请模板
	public InputStream findInputStreamByPath(Application application);
	//审批处理
	public void approveInfo(Application application);
	//审批历史
	public List<ApproveInfo> findApproveInfoListByApplicationID(Application elecApplication);
	

}
